package com.community.web.master.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel(value = "商品带类名对象", description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsWithCategoryNameVo {
    @ApiModelProperty(value = "商品id")
    private Integer id;

    @ApiModelProperty(value = "商品编号")
    private String goodsNo;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "类别id")
    private Integer categoryId;

    @ApiModelProperty(value = "类别名称")
    private String categoryName;

    @ApiModelProperty(value = "商品介绍")
    private String goodsIntroduce;

    @ApiModelProperty(value = "商品详细信息")
    private String goodsContent;

    @ApiModelProperty(value = "0")
    private Integer goodsState;

    @ApiModelProperty(value = "商品图片地址")
    private String goodsPicture;

    @ApiModelProperty(value = "商品市场售价")
    private BigDecimal goodsMarketPrice;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
